package his.persistence;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import his.entity.Register;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface RegisterMapper extends BaseMapper<Register> {
    //获取病历号的函数
    @Select("SELECT CaseNumber FROM register")
    List<String> getCaseNumberList();
}
